import 'dart:ui';

class AppColor {
  static Color hex(String hexColor, {double opacity = 1.0}) {
    hexColor = hexColor.toUpperCase().replaceAll("#", "");
    if (hexColor.length == 6) {
      hexColor = "FF$hexColor";
    } else {
      hexColor = "FFFFFFFF";
    }
    return Color(int.parse(hexColor, radix: 16)).withOpacity(opacity);
  }

  static const Color primary = Color(0xFFFF1C1C);
  static const Color colorWhite60 = Color(0x99FFFFFF);
  static const Color color202020 = Color(0xFF202020);
  static const Color color1B1B1B = Color(0xFF1B1B1B);
  static const Color color2C2C2C = Color(0xFF2C2C2C);
  static const Color color181818 = Color(0xFF181818);
  static const Color color17140D = Color(0xFF17140D);
  static const Color colorF8F9FD = Color(0xFFF8F9FD);
  static const Color colorE64A4A = Color(0xFFE64A4A);
  static const Color color24252D = Color(0xFF24252D);
  static const Color color191A1D = Color(0xFF191A1D);
  static const Color colorEBEDF0 = Color(0xFFEBEDF0);
  static const Color colorE1E1EB = Color(0xFFE1E1EB);
  static const Color color1A1B1F = Color(0xFF1A1B1F);
  static const Color color86888F = Color(0xFF86888F);
  static const Color colorFF7B02 = Color(0xFFFF7B02);
  static const Color color616166 = Color(0xFF616166);
  static const Color color666666 = Color(0xFF666666);
  static const Color color919199 = Color(0xFF919199);
  static const Color color171819 = Color(0xFF171819);
  static const Color color363535 = Color(0xFF363535);
  static const Color colorB5DAF3 = Color(0xFFB5DAF3);
  static const Color color00F535 = Color(0xFF00F535);
  static const Color color73EE00 = Color(0xFF73EE00);
  static const Color colorFFE809 = Color(0xFFFFE809);
  static const Color colorFFEBD3 = Color(0xFFFFEBD3);
  static const Color color5C3404 = Color(0xFF5C3404);
  static const Color colorCFD2D9 = Color(0xFFCFD2D9);
  static const Color colorFFFEF2 = Color(0xFFFFFEF2);

  static const Color color1D1D1D = Color(0xFF1D1D1D);
  static const Color colorBDBDBD = Color(0xFFBDBDBD);
  static const Color color282828 = Color(0xFF282828);
  static const Color colorF5F5F5 = Color(0xFFF5F5F5);
  static const Color color999999 = Color(0xFF999999);
  static const Color colorD9D9D9 = Color(0xFFD9D9D9);
  static const Color colorFFF1CC = Color(0xFFFFF1CC);
  static const Color colorEBB332 = Color(0xFFEBB332);
  static const Color color5A3700 = Color(0xFF5A3700);
  static const Color colorCA7F09 = Color(0xFFCA7F09);
  static const Color colorEBECF1 = Color(0xFFEBECF1);
  static const Color colorF6F6F6 = Color(0xFFF6F6F6);
  static const Color colorFFF3D3 = Color(0xFFFFF3D3);
  static const Color colorF9F8FD = Color(0xFFF9F8FD);
  static const Color colorC2C2CC = Color(0xFFC2C2CC);
  static const Color color763902 = Color(0xFF763902);
  static const Color colorC25E00 = Color(0xFFC25E00);
  static const Color colorFF9000 = Color(0xFFFF9000);
  static const Color color713500 = Color(0xFF713500);
  static const Color color232121 = Color(0xFF232121);
  static const Color color4B5882 = Color(0xFF4B5882);
  static const Color color7986CA = Color(0xFF7986CA);
  static const Color color101010 = Color(0xFF101010);

  static const Color color5F6187 = Color(0xFF5F6187);
  static const Color color7D81A1 = Color(0xFF7D81A1);
  static const Color colorF2E193 = Color(0xFFF2E193);
  static const Color color838182 = Color(0xFF838182);

  static const Color colorD8BE6D = Color(0xFFD8BE6D);
  static const Color colorFFEFC6 = Color(0xFFFFEFC6);
  static const Color color574B3B = Color(0xFF574B3B);
  static const Color colorFFEFDE = Color(0xFFFFEFDE);

  static const Color colorFFAE4A = Color(0xFFFFAE4A);

  static const Color colorFFF9B9 = Color(0xFFFFF9B9);
  static const Color colorFFD4BA = Color(0xFFFFD4BA);
  static const Color color7E2000 = Color(0xFF7E2000);
  static const Color colorFF4500 = Color(0xFFFF4500);
  static const Color colorFF8B60 = Color(0xFFFF8B60);
  static const Color colorFF9300 = Color(0xFFFF9300);
  static const Color colorFF4600 = Color(0xFFFF4600);
  static const Color color44536A = Color(0xFF44536A);
  static const Color colorFFF9E7 = Color(0xFFFFF9E7);
  static const Color colorB67A52 = Color(0xFFB67A52);
  static const Color colorDEA664 = Color(0xFFDEA664);
  static const Color colorFEFFE8 = Color(0xFFFEFFE8);
  static const Color color232526 = Color(0xFF232526);
  static const Color color191D20 = Color(0xFF191D20);
  static const Color colorFFFEF8 = Color(0xFFFFFEF8);
  static const Color colorFCFBF0 = Color(0xFFFCFBF0);

  static const Color colorFFE9BA = Color(0xFFFFE9BA);
  static const Color colorFFFDF3 = Color(0xFFFFFDF3);
  static const Color colorD3C5AB = Color(0xFFD3C5AB);
  static const Color color9C9485 = Color(0xFF9C9485);
  static const Color colorFBFAEF = Color(0xFFFBFAEF);
  static const Color colorFBFFEA = Color(0xFFFBFFEA);
  static const Color colorFF8A01 = Color(0xFFFF8A01);
  static const Color colorF6F8FB = Color(0xFFF6F8FB);
  static const Color colorFFD5D5 = Color(0xFFFFD5D5);

  static const Color colorFFEAEA = Color(0xFFFFEAEA);
  static const Color colorFFFBFB = Color(0xFFFFFBFB);

  static const Color color00FBFF = Color(0xFF00FBFF);
  static const Color color96FF8B = Color(0xFF96FF8B);

  static const Color colorFFD593 = Color(0xFFFFD593);
  static const Color color242015 = Color(0xFF242015);
  static const Color colorABABAB = Color(0xFFABABAB);

  // 新增颜色
  static const Color colorE1F4E7 = Color(0xFFE1F4E7);
  static const Color color21A95E = Color(0xFF21A95E);
  static const Color colorF9F9F9 = Color(0xFFF9F9F9);
  static const Color colorFF5722 = Color(0xFFFF5722);
  static const Color colorE5E5E5 = Color(0xFFE5E5E5);

// ######E5E5E5
// #############F6F8FB
}
